package com.lintf.distributed.transaction;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

// MessageProcessedEvent.java
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageProcessedEvent {
    private String messageId;
    private boolean success;
    private String content; // 处理的消息内容
    private String reason;
    private Date processedAt;
}